Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade sdk to 0.11.2 #365

Merged
merged 8 commits into from
Oct 10, 2022
Merged

upgrade sdk to 0.11.2 #365

merged 8 commits into from
Oct 10, 2022

Conversation

lyuyangh
Copy link
Member

@lyuyangh lyuyangh commented Oct 3, 2022

closes #336
Fixed a couple of breaking changes as documented in #336. I couldn't fix the last one so we need to do DB migration for this PR.

I have prepared the migration scripts and tested them on the dev database. I also tested the scripts on a small subset of the systems in production (around 20 systems) and they worked out fine. By merging this PR, the dev environment would automatically work because the new DB is ready (some systems will be missing if they are submitted from now to the time we deploy this version on dev).

After merging the PR, I will rerun the migration scripts for dev. Then, I will run migration for prod before we deploy to prod.

@lyuyangh lyuyangh marked this pull request as draft October 3, 2022 16:33
@lyuyangh lyuyangh changed the title update sdk to 0.11.2 upgrade sdk to 0.11.2 Oct 5, 2022
@lyuyangh lyuyangh marked this pull request as ready for review October 10, 2022 02:21
@lyuyangh lyuyangh requested a review from neubig as a code owner October 10, 2022 02:21
@lyuyangh lyuyangh requested a review from pfliu-nlp October 10, 2022 02:29
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I approve!

@@ -486,12 +485,6 @@ def db_operations(session: ClientSession) -> str:

# -- replace things that can't be returned through JSON for now
system.metric_stats = []
for analysis_level in system.system_info.analysis_levels:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay for being able to delete this code!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to SDK v0.11.2
2 participants